<?php
session_start();
error_reporting(0);
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script language="javascript">
function validasi(form){
  if (form.username.value == ""){
    alert("Anda belum mengisikan NPM.");
    form.username.focus();
    return (false);
  }
     
  if (form.password.value == ""){
    alert("Anda belum mengisikan Password.");
    form.password.focus();
    return (false);
  }
  return (true);
}
</script>
<link href="../config/css/mhs.css" rel="stylesheet" type="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Sistem Informasi Mahasiswa</title>
</head>
<body>
<div class="mhs_layout">
<div class="mhs_banner"></div>
<div class="mhs_conten"><div class="mhs_navigasi">

<form name="login" action="cek_login.php" method="POST" onSubmit="return validasi(this)">
<table width="200" class="table">
    <tr>
      <td><span class="login">Login Mahasiswa</span></td>
    </tr>
    <tr>
      <td><span class="td">NPM :</span></td>
    </tr>
    <tr>
      <td><span class="td"><input type="text"  class="name"name="username" ></span></td>
    </tr>
    <tr>
      <td><span class="td">Password :</span></td>
    </tr>
    <tr>
      <td><span class="td"><input type="password" class="pass" name="password" ></span></td>
    </tr>
    <tr>
      <td><input type="submit" class="tombol" value="Login"></td>
    </tr>
  </table>
  </form>
</div>

<div class="mhs_isi_conten"></div>
</div>
<div class="mhs_footer">CopyRight &copy; 2013 STIE INDONESIA pg All Right Reserved</div>
</div>
</body>
</html>
